
************************************************************
*  Table 1 descriptive statistics
************************************************************

# delimit ;
version 11;
capture log close;
set more 1;

*  Data by one-year age group;
use data_1yr_stacked;

log using table1.log, replace;
sum sr10a marrf brate [aweight=popf];
sum sr10u marrfu brateu [aweight=popfu];
sum sr10r marrfr brater [aweight=popfr];
sum marrm [aw=popm];
sum marrmu [aw=popmu];
sum marrmr [aw=popmr];

*  Data by five-year age group;
use data_5yr_stacked;
sum sr10a asbrm asbrnd nodad vlargegap epopf asdrf [aw=popf];
sum sr10u asbrmu asbrndu nodadu vlargegapu epopfu asdrfu [aw=popfu];
sum sr10r asbrmr asbrndr nodadr vlargegapr epopfr asdrfr [aw=popfr];

use data_5yr_stacked_div;
sum divr [aw=pop];
sum divru [aw=popu];
sum divrr [aw=popr];

use data_5yr_stacked_dabo;
sum dabobth [aw=popf];
sum dabobthu [aw=popfu];
sum dabobthr [aw=popfr];

log close;

